package com.lunar.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@Table(name = "telvisit")
public class TelVisit implements Serializable {
    @Id
    @Column(name = "tvId")
    private int tvId;
    @Column(name = "telName")
    private String telName;
    @Column(name = "telTime")
    private Date telTime;
    @Column(name = "visitReason")
    private String visitReason;
    @Column(name = "visitReturn")
    private String visitReturn;
    @Column(name = "visitType")
    private String visitType;
    private int cid;

}
